build: refactoring the deployment script and data format