added stuff to automatically generate a new mrom