Cleanup extraenviroments