Various scripts, mostly for data formatting