modularised deployment logic into separate build scripts