Merge pull request #2 from R3dy/master

Added additional error checking for better trouble shooting - Thanks for submission!
added decode_logs.rb
Modified decode_logs to work with all pages