build and deploy scripts that actually work