new generation script (add total etc) before panos