Add option to download to local (default is False)