added remote / local control switch