updated build controller to new format