Renamed $id to $name and $group to $folder