following script being deployed via casper remote or policy
#!/bin/sh
osascript -e 'tell application "System Events" to delete login items';
and I get the following error: Runs perfect when run through local terminal
Mounting Casper Distribution to /Volumes/casper...
Running script Clear Login Items.sh...
Script exit code: 1
Script result: 43:54: syntax error: A plural class name can’t go after this identifier. (-2740)
Any help would be appreciated.