Begin module rewrite