dynamic option for python engine