more check to deploy script