Move download to before running tasks.