moved config_d dir and fixed templates