better CLI script