Update build for UI so we do not build twice, per @gaarf