Evaluate command line arguments
Remove dead code