Run correct task