make map script to select location