added maintenance functionality via config file