Set environment and path vars.