remove redundant headers
remove redundant functions
rename make_plots_general to make_plots
little cleanup of init_root_file function