making wwwDir a command line argument