submit xquery scripts too