I have created a reactor that will change the layer of any xrefs that are insert using VLR-beginAttach and it works fine if the layer exists. I have tried to use the (command "layer" "m") but it crashes out at this command, although it works fine at the command prompt. Is there something strange about using (command...) inside the reactor callback? Troy