added code exit at module importation
added specified path option