Added schedule download function