Use __dirname to remove assumptions about where it's run