Password prompt hidden and fixed apostrophes breaking out of the rename command