TIL about check_call, nice use of split btw. That makes this easier.