from prior commit- fixed short php-echo tags and added head title