use PANLEX_API env var if present