working version of build / run process