add destroy command
save attributes to environment for restore
save features for restore