What type of domain are you implementing KiX in?
How are you calling your script now..?
When testing your script how are you calling it?