Make 360 build script more modular