Added command line option for output directory. Sample run script added too