Working with module-dir flag