finish deploy script first stage