Added post rewrite ctag hook