added database
corrections in downloader