Thanks Jeff,
I tried the optimization last night and removed unwanted programs etc.
The clunking seams to be there no matter what velocity I choose,but it is only there when the motors are running at their top speed.About once every second the motors have a loud clunk.At first I thought it was at a set point where the motor turns.Iam guessing the clunk can make it lose steps.
I think smooth stepper might be a step in the right direction for me,so in a few days I will order one and see if it performs miracles for me.
Thanks again
Jason