fix script files
util to deal with IP
output format