Added upload-to-device feature