More logic about the runs within the code