Updates to the python activity