Configure from environment variables