some script tools