using fixed upstream hpricot
fixing faulty redirects
neater output