add options for file output and verbose run