all scripts for multi-dataset comparison working
added preplot function