Fixed working dir problem in phantomquail script.