switched API key as process variable