modify save output to file and atached link to email
Merge branch 'release' into develop