add persist model classes
fix scripts