reformatted output, fixed cookie jar