add pfor_kernels to environment