attempt to rationalise build parameter determination