Revert "Revert "ancestry.lua: cleaning the script up!""

This reverts commit b7c750d2ac585bedd38a6de69a5988b90d74fb7b.