fix(deploy): minor fixes and improvements to deploy script

See #32