some script useful by python