finish deploy script