Use launch context to determine compartments