some useful  scripts