removing php wrappers in pages, general formatting