Added loglevel command line option