Added battery check script