added statd support