new version inspired by netcfg-menu