wrote deploy script