useful scripts extracted from my work.