added a log message that works better w/ various options