fixed bug so Modulr only runs on the right domains