split the build script into just building and just serving