generic scripts that I use for analysis, plotting etc.