add revised phosim driver script