Doing a little fancier way to get back a schedule from python