fix exts orderr + include optparse

I included `optparse` too, which is a requirement for QIIME (tests)