Added the Ability to prioritize the tasks.