Change rm-sub to a sequence of commands to allow for errors.