change implementation fromo runPHPFile to something more native thatn Psc