removed copying output to file
destroy queue after save