Fix issue with reply commands which have variables not working