Set task priorities