Add env flag after cache key

Add env flag after cache key