More analysis and plotting scripts