Better usage of config