new mergo of epgselection.py