make it renaming the output at the end of it run