Adds a build script for the main app.