Clear scripts on creating new map