Previously, the arc was entirely created in the GuiCommand definition. The code to create only the arc is placed inside a module so that the function can be used in scripting from the terminal, without a graphical interface.