Python script for small tasks