REFINERY AGREEMENT