Rewrote screenshot to use actual phantomjs script