Corrected a bug where the downloaded files werent properly saved
Schedule object defined