adding php script support