Added commandline argument support.