fixes deploy script