more changes to php and styling