Manipulate PHP statements in scriptfiles