moved isohunt helper functions to plugin top level