Read optimizations from environment