Add auto switching of 'registration_path'