Implemented rename script with Python to make it platform independent