WIP - working mod rewrite.