Added function to detect the folder of themes