Added redirect logic in parse_arguments
stupid git
Crazy merge
Redirects almost working (bug with adjacent)