Reformatted code to group add entry with admin commands