Makes sure that output folder is present, automatically adds index.php and produces a summary
Includes uncommon events (default -1 for cats and -99 for other vars), writes summary into a separate text file in the plots folder