auto-init cockpit on load