Added flush_rewrite_rules