Changed some of the DMAB things so that it can run in interation