add a commands generator to auto add the commands to group surface atoms from different domains