Support custom omaps in YRRunAfterMaps()
Simplify custom nmap in YRRunAfterMaps