Need to re-write this code so that it isn't relying on script_info, but instead using the pyqi ``Command`` framework. You can look at some of the [biom commands](https://github.com/biom-format/biom-format/tree/master/biom/commands) as examples.