General python scripts for ad-hoc tasks