add Moo eXtensions sections and rewrite resources