rename directories and caps hex values