style: use lower case for variable names
style: use default value for variable syntax and check command result directly