Replaced duplicate and rename step by simply rename (doesn't seem like duplicate is necessary).