bugfix: use __DIR__ to reference current directory