Importing named views through a script

Maybe this helps: