Added support for arguments. Added --groups and --exclude-groups feature