changes to php to improve appearance of site.