initial import of an old brunch of scripts. made (almost) clean