Added Connect-rewrite