Shorten demo scripts with copyobj