Fixed working dir problem in phantomquail script 2.