Replace REMs with EMs and PX