Use /usr/bin/env to locate csi.

Tom's location was different than mine so I had to do
local overrides. Hopefully this will work regardless of
where chicken is installed.

I couldn't figure out how to get it to work with the
-script argument. Is that necessary?

http://stackoverflow.com/questions/8967902/why-do-you-need-to-put-bin-bash-at-the-beginning-of-a-script-file