Replace __DIR__ with getcwd()