enhanced __main__ program, added Execution listeners and fake mode