cleanup shell redirects and config reload