fix for new destroy-environment command