Added ability to add widgets from command-line.