added oMM check to injectFramework