new plotting and general analysis scripts added