switched keys and usr info to env var