add db script
first intergration with map