some util scripts.