Added debugging of ota