change report functionality to save at temporary folder