Final debug message and possible bug fix for the folder creation bug?