Changed scripts for map and buttons