Command line parsing and fixed check for extending
Removed phantomJS from buildpacks