Generate macros in deployment.sh