Allow to use configDir in module