properly use multiple commandline arguments