minor bug fix: Switched to using the safer open-uri block method