more work on location map script