cleaning up main redirector command line functions and config files