pre environment settings