Added active matlib toggle