added script to create views and triggers for selected models