def StartSTK():
    try:
        uiApp = GetActiveObject('STK12.Application')

        stkRoot = uiApp.Personality2
        checkEmpty = stkRoot.Children.Count

        if checkEmpty == 0:
            uiApp.visible = 1
            uiApp.userControl = 1
            stkRoot.NewScenario('AviatorParametricDemo')
            scenario = stkRoot.CurrentScenario.QueryInterface(
                STKObjects.IAgScenario)
        else:
            ## Implement checking to see if I should close the scenario
            pass
    except:
        uiApp = CreateObject('STK12.Application')
        stkRoot = uiApp.Personality2
        uiApp.visible = 1
        uiApp.userControl = 1
        stkRoot.NewScenario('AviatorParametricDemo')
        scenario = stkRoot.CurrentScenario.QueryInterface(
            STKObjects.IAgScenario)

    stkRoot.UnitPreferences.SetCurrentUnit('DateFormat', 'EpHr')
    return stkRoot