Script to generate the map data. started the html template