misc scripts that might be useful