Adding python actions