using environment var for phantomjs path