tweaks to scheduler