link to an ref with a trick to add a cmd to the end of a running proc