removed unnecessary variables from CLI script