fix master uri
switch to deploy script