Some simple rewrite rules added.