expanded rename.py