You need to adding logging into your script so that you can follow the scripts execution and determine the errors if any occur.

Also

IF INGROUP ("LS Read") or ("LS Write") should be:

IF INGROUP ("LS Read") or INGROUP("LS Write")

What version of KiX are you using?
_________________________
Home page: http://www.kixhelp.com/hb/