changed way of getting the module path