making backup.sh functional