Various analysis and post processing scripts