added map.php and modified for heroku