update script to populate correct subfolders