updated to save attributes when adding to queue