Working openmr custom gains