refinery cms