Add regenerate.sh script.
Improve memebers models.