Add refinery overrides and fix header