add loki support