Is the current directory the one you think it is?
Personally, there are a couple things that scare me here...
- Using .. to load a file. I try to use full paths when I can. When I can't, I tightly control the current working directory. And reset it when I'm done.
- Using do instead of require or use. If you're going to reuse the code, please please please put it in a module.
Just a thought.