Changes directory before calling myPDDL now.