a few random python scripts