added options logging for better debugging