Environment as parameter

Correction of environnement setting through console parameters.