commit before writing script to write DefinedAt functions