Changed -loglevel to be able capture errors.