Small scripts in python