added scritp to test Selector.py