misc scripts.. mostly perl and shell