use local file in config + small fixes