refactored scripts
refactored epgdump
refactored, refactored...