Perl, R and TOPAS macrocode tools optimizing Bruker TOPAS usage