configure from environment