fixing maps script