added command-line switches and env variable defaults to Hello World