A server-side scripting utility for KAG Beta