Got a download mechanism working