Added changes to make remote upload over bluetooth possible.