Add 'on queue completion' action for task scripts.