Updating widget_server file, still work in progress.