modified downloading scripts + hockey stuff + sqlite stuff