added child process to turn on motion