Setting up the build routine