python analyze and data management scripts