Add dual mode to discoparty example