update to logic for bug folder creation