Removed unused code and fixed an import
Logging of the Bootstrap
Added check for property existence.