Got rid of debug echoing. Added rewrite rules on activation.