Cleaned up if/else logic in loading boardConfig