amar,

do you have your script working? What needs to be changed except tablespace name? It did not work for me.