remove old php script from layout page