config file and init template management