adds a clean-up command