improve backup script