The one generated by the python script doesn't really do what we want. Instead of futzing around with the script again just write our own version.