It could be a ```KeyError```, but it's also possible that ```script_info``` doesn't exist, so I decided to do a coarse-grained check here. I can update to handle both cases if you want me to.