Updating 3D plotting scripts