added "export all views" function