request.is_shell and request.is_scheduler
fixed redirection bug