add download scope to main method