script to publish
added new directive to show map, replace html to diplay only map