Updated socket path with __dirname