added option to clear local config