Main build