first run now a dialog as opposed to separate main script