[SR-Users] rewriteuri and append_branch with variables