Fix for uploading backup files through the script. Note that backup files may alse be FTP'd to the server and this script executes properly for restoration.