I752

fixes #752, only loads modules in input file