script to update dir_service in config files