bugfixes in rename- scripts
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  bugfixes in rename- scripts