Added regen and set commands