added priority settings to tasks