Improved the backup script