batch renaming, script cleaning