Changing auto_mount.sh to be cleaner and more universal