The problem has been resolved
Could this be the reason? I don’t see retro defined anywhere before the .rename() call.