add cde build script and update the deployment script