Update core.py

Automatic Bootstrap widget