japi.groups add some script validations