fix examples to use --role worker and add a --role master count