Rename directories according to artifacts