Extract configuration to ENV