fix class builder script