Wyoming refinery to be modified for renewable fuel production