Merged config and main