Catch unspecified input_kind
Added -m option for reporting on memory use by script