call the script redirecting depending the version of the view