Added regen scripts
Added some doc