Fog added to config, more optimization