Impove idiot handling
Use the last module in the filename path as the module name