PL/Client Scripting Functions