[#1] Fixing directory lookup

Resolves #1 

Properly looks up script directory.