Some useful python scripts to generic usage