Removed sending command to controller in the callback because it hasn't been tested yet.