Added envcheck