integrated build-dats into worker framework