updated to use latest version of the doi gem