If you modified your permissions to make it executable then the next step is to put echo 1 ..... echo 999 throughout the code and see where it is. That's my crude bash debugging technique - similar to assert() in C programs._________________Web Programming - Pet Packaging 100 & 101