Adjust usage, log file name and allow to set API host.