Added quotes around items in rename function