setting up build proc