Oh, I didn't know how to apply the scriptcall function to a variable. It's working fine now.Thank you for your kind reply.
Good luck always!