Removed second creation of temp config.