Added mgArgs, which sets a struct based on var args