some useful script