--- a/dist/bin/dump-standard.sh
+++ b/dist/bin/dump-standard.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 # bbou@ac-toulouse.fr
 # 25/11/2013 
-# [--schema] 30|31|31_snapshot [password]
+# [--schema] 30|31|31_snapshot
 
 schema=
 if [ "$1" == "--schema" ]; then
@@ -51,7 +51,7 @@
 		;;
 esac
 legacy="${lsenses} ${lsensemaps} ${lsynsetmaps} ${lcomputedsynsetmaps}"
-vn="vnclasses vnclassmembers vngroupings vngroupingmaps vnrolemaps vnroles vnroletypes vnselrestrs vnselrestrtypes vnframemaps vnframes vnframenames vnframesubnames vnsemantics vnsyntaxes vnpredicatemaps vnpredicates vnexamplemaps vnexamples" 
+vn="vnclasses vnclassmembers vnclassmembersenses vngroupings vngroupingmaps vnrolemaps vnroles vnroletypes vnselrestrs vnselrestrtypes vnframemaps vnframes vnframenames vnframesubnames vnsemantics vnsyntaxes vnpredicatemaps vnpredicates vnexamplemaps vnexamples" 
 bnc="bncs bncimaginfs bncconvtasks bncspwrs"
 sumo="sumofiles sumoformulas sumoterms sumotermattrs sumomaps sumoparsemaps"
 xwn="xwnparselfts xwnwsds"
@@ -68,7 +68,7 @@
 {
 	mytables=$1
 	mydomain=$2
-	echo "* dumping data of		${mytables} from ${indir}/${dbtag}"
+	echo "* dumping data of		${mytables} from `basename ${indir}`/${dbtag}"
 	${distdir}/bin/filter-normalize.sh < ${indir}/${dbtag}/${indbtype}-${mydomain}-data.sql > ${outdir}/standard-${mydomain}-data.sql
 }
 
@@ -85,7 +85,8 @@
 	mydomain=$1
 	myswitch=${mydomain}
 	echo "* dumping views			${mydomain}"
-	${builderdir}/bin/run-${dbtype}.sh dump constraints ${mydomain} > ${outdir}/${dbtype}-${mydomain}-constraints.sql 2> /dev/null
+	${builderdir}/bin/run-${dbtype}-${dbtag}.sh dump ${mydomain} constraint creates > ${outdir}/${dbtype}-${mydomain}-constrain.sql 2> /dev/null
+	${builderdir}/bin/run-${dbtype}-${dbtag}.sh dump ${mydomain} constraint drops > ${outdir}/${dbtype}-${mydomain}-unconstrain.sql 2> /dev/null
 }
 
 function views()
@@ -93,7 +94,7 @@
 	mydomain=$1
 	myswitch=${mydomain}
 	echo "* dumping constraints		${mydomain}"
-	${builderdir}/bin/run-${dbtype}.sh dump view creates ${mydomain} > ${outdir}/${dbtype}-${mydomain}-views.sql 2> /dev/null
+	${builderdir}/bin/run-${dbtype}.sh dump ${mydomain} view creates > ${outdir}/${dbtype}-${mydomain}-views.sql 2> /dev/null
 }
 
 if [ ! -z "$@" ]; then
@@ -112,4 +113,3 @@
 		views "${domain}"
 	fi
 done
-