added } to end of map script