Add phantomjs to configuration file and pass command directly to ezexec