Fixes missing pathing variable.
Merge pull request #42 from rawrin/refactor

Fixes missing pathing variable.