Changes on making the temp directory for modules:
1) adding the settings filename in the tmp folder