this script in general should get dropped in favor of using ``pyqi`` + a configuration file