takes in schedule from config file