Fixes for update-maps.sh script by Cobra_Fast