removed always run, enabled rewrite