Added options for ascii and logging.