Fixing issue with SIP creation.
Added logging.