Add a script that can be used to generate the 3D graphs automatically