Cleanup and add configs.