Removing now unneeded php variables from index