Map making script that works