Adding power monitor script.