Made various path relative to __dirname for portability