Trying to update main run script but ran out of time. It's broken.