ARMS-285. updated to re-incorporate mint.
added variables from command-line.