we could move this line within the 'if env_ids.include?' that follows, to avoid grabbing version when it's not going to be used