update CLI script