fix script for backup