Modified AppendWidgetCommand to use external source.