Added __DIR__ to fix cwd errors