various command line scripts