add custom attribute name for sub-command
change logic to handle global variables