Switch awlenv to hash table lookups