added elseif branches for one-day turnarounds