scheduler works
takes in schedule from config file