New function "remove_temp_views"
Merge branch 'sapns__remove_temp_views' into master2