added a flag variable to make a moduel into a DataImport module
added flag