Which is, in turn, something Jonhoo put together. See the comments in the file for more. I mainly want the feature combination checking that this should do.