Command-line scripts and tools