Title: A hybrid supervisory control system for flexible manufacturing workcells