seed_data: Move into function.

Now we can programmatically do the seeding from within Python;
previously to do that you'd have to `exec` the script.