Add a trap command to duckinstall