added slaveMode control files