Loki tools from @djrbliss