Added posibility to provide relative path ('./dir' etc)

I tried to require a dir by relative path, but without success. So, I decided to change code a bit. I think this might be useful.