Create genselect.py