random collection of useful scripts for cms analysis