Added functions for group save/load