bug fixes for task scheduling
path fix

thought I fixed this already ;)