stick to folder names being lower case, also change lambda syntax in d