Added configurable default redirect