Add override parameter for setModes to allow user source with override