fix deploy and add backup script