Make config file modes use their own file