diff --git a/generate_all_operators.py b/generate_all_operators.py
index adab73245b72e8cd11a0df21bcfed15e650beeda..b113fd19b9ddc42acc7a1f4aee975db7757977f5 100644
--- a/generate_all_operators.py
+++ b/generate_all_operators.py
@@ -41,6 +41,7 @@ from hog.forms import (
     nonlinear_diffusion,
     nonlinear_diffusion_newton_galerkin,
     supg_diffusion,
+    advection,
     shear_heating,
     supg_advection,
     supg_shear_heating,
@@ -559,6 +560,10 @@ def all_operators(
                             coefficient_function_space=P1, onlyNewtonGalerkinPartOfForm=False),
                             type_descriptor=type_descriptor, opts=opts, blending=blending))
 
+    ops.append(OperatorInfo(mapping="P2", name="Advection", trial_space=P2, test_space=P2, 
+                            form=partial(advection, velocity_function_space=P2), 
+                            type_descriptor=type_descriptor, opts=opts, blending=blending))
+    
     ops.append(OperatorInfo(mapping="P2", name="ShearHeating", trial_space=P2, test_space=P2, 
                             form=partial(shear_heating, velocity_function_space=P2, coefficient_function_space=P2), 
                             type_descriptor=type_descriptor, opts=opts, blending=blending))
diff --git a/temp.sh b/temp.sh
new file mode 100755
index 0000000000000000000000000000000000000000..2a11b19c9fcc0fc782ad45187bae0ccc4dff234a
--- /dev/null
+++ b/temp.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+python3 generate_all_operators.py -f Advection -b IdentityMap --quad-degree 2 3 --hyteg ~/hyteg/hyteg
+python3 generate_all_operators.py -f ShearHeating -b IdentityMap --quad-degree 2 3 --hyteg ~/hyteg/hyteg
+python3 generate_all_operators.py -f SUPGDiffusion -b IdentityMap --quad-degree 2 3 --hyteg ~/hyteg/hyteg
+python3 generate_all_operators.py -f SUPGAdvection -b IdentityMap --quad-degree 2 3 --hyteg ~/hyteg/hyteg
+python3 generate_all_operators.py -f SUPGShearHeating -b IdentityMap --quad-degree 2 3 --hyteg ~/hyteg/hyteg
+python3 generate_all_operators.py -f SUPGKMass -b IdentityMap --quad-degree 2 3 --hyteg ~/hyteg/hyteg