add -d flag to choose alternate delimiter