Rewrite module loading mechanism