Detect connected module, load corresponding parameters, variables into module