rm validation code to the deployment script