Just a quick look, and run on my machine, you don't have any target elements defined. You defined the element type, but never created them in the active session. Here's the first half of your script with a single line added:
/prep7
d=1
r1=0.8
t=0.1
mf=20
et,1,185
mp,ex,1,30e6
mp,prxy,1,.3...