added: some logging and improved variable names
added: some logging and improved variable names

skysports-digitalmedia/php-buildpack,skysports-digitalmedia/php-buildpack,skysports-digitalmedia/php-buildpack,skysports-digitalmedia/php-buildpack,skysports-digitalmedia/php-buildpack,skysports-digitalmedia/php-buildpack