Added php tag to the top and removed the tag from the bottom