my ($environment, $duration, $config) = @{$EnvsToRun->{data}};