modified backup.sh