Tying app template creation together with the build script