build scripts for dev and staging

build scripts for local dev and staging
Why `sudo`?