fixed ca_scripts finding model_class error