edit map script