Autogenerate errfield project script