Fix to download to phone script