grazie !
ho preso qualche spunto per completare il mio script.