Redirect

added redirect, fixed another minor bug