reconfigure environment