Added option to be passed back and logged.

Added check if cat creation set or not.