add commands to the gShell document