no longer possible to set mode via a script