some useful and convenient scripts