updated regen-py