clearConfig() code added and removed execute()