updated rename.js