use __dirname for path