GT40, I don't know much about scripts, but the line:
clock [t= 0.4] load [file= headmove3.hap]
only needs to be in one hap. I think.
Let's say you have 2 or more haps you want to loop. The haps you want to loop do not need a loop command in them Only one hap, that tells the other haps what to do, needs to have the loop command.
I could be way off, but just a thought.
Also, you might increase the time of the loop, from 0.4 to 0.6, or higher.
And finally, sometimes you have to put the whole address for the source of the script for it to work "http://mysite/hap3.hap"
Just some thoughts, I don't know if they help or not, but at least I tried.[

][

][

]