Fixing issue in backup script