set config directory for each module