Used tmp env for kernel