adds remove commands to queue block