updated how configuration is passed into torrenthand