finish deployment script