setup the remove trigger code.