more updates to phantomRun.rb