Added Fan control Code