adopted mkmap.sh to new strukture