extract namespace to config file