Move download inside conditional