Add schedule setting. Remove warning