fixed mapper.sh for support on reboot