Wrote the python to actually compile the blocks and execute them. I have tested it on my computer using the mozilla driver. It will need some adjustments to run headless. It also needs to have stage 3 completed in the design.: