Added option to name given items and fixed special characters in detection