add map, remove unused scripts