Fixed output directory argument and documentation.