updated the map script