Switch rc and envar priority