allow content type to be specified at command line - guess if not given