initial setup of widget/plugin