added scripts to generate map.