a few py scripts