added lines to config to allow external config