added seperator option for output path and module arrays