modified managetask_daily