Use cwd not __dirname for base