some messy code to download text added. WIP.