New path modification for php scripts