Put redirect path into the config so that it is optional