Implemented collecting parsed scripts. Turning to spaghetti code.