foreach syntax error

I wrote a simplistic script which works fine in my HP Korn environment using for in do done but when I converted it for csh it is balking at my syntax specifically the parens for the argument. Any help would be appreciated

set -x
cut -f1 -d, bryan > sim
cut -f2 -d, bryan > imsi
set ki=`cut -f3 -d, bryan`
cut -f4 -d, bryan > cyph
cut -f5 -d, bryan > ans1
cut -f6 -d, bryan > ans2
cut -f7 -d, bryan > ans3
foreach i ($ki)
./des_cryp -k $i -d 1234567891234567 >>ekiout
end
paste -d, sim imsi ekiout cyph ans1 ans2 ans3 > final

error:

./scr: syntax error at line 9: `(' unexpected

I used the exact syntax with the sam system variables in command line and it work perfectly. At a lost, I know it is something stupid I am missing. Once again Thanks for your assistance

You need a line
#! /usr/bin/csh
as your first line in the script. Do you have that?

I knew I forgot something, Thanks for the help