replaced __DIR__ with dirname(__FILE__)