added download script and updated dir in count script