Added a statement to add the group if it did not already exist