Generify script type

This makes it so that we need only write a script to create a chaos type.