added queue_save_by method and where it should be saved with name.