Added a generic script for creating error models