fixup! Refactor build.sh and package.sh into app.sh