config file loading works well enough.
Added redirect option.