some little useful scripts here