improving deploy script