What is the problem ?
Regards
Wahju
one of the possible problems is that your prolog code is syntacticaly incorrect
for one, the line : img$[src='/images/redball.gif'), is feeling very poorly
people using scripts should consider testing their prolog code before adding the unix directives (top two lines of the posted code)
just consult it, and query with main(somelistofatoms).
regards
nicos.