Rewritten logic; parsing infinite amount of runs simultaneously; guessing the run type automatically; small fixes