Fixed cut schedule initialization
Fixed foreground check