I'd say flags are kings, so this is what i suggest for prioritizing:
1. flags
2. env
3. profile

Concerns?