Added additional debugging code to buildmanager