formatting scripts.py output