Use ENV global instead of getenv