as if it wasn't convoluted enough
support auto detected modules