Adding priority as param to pass to worker