function calcWeeklyLeaders()
 {
     $this->log('calcLeaders...');
     require_once PATH_CORE . '/classes/scores.class.php';
     $scores = new WeeklyScoresTable($this->db);
     $scores->storeWeeklyPointsEarned(array('team', 'general', 'ineligible'), 350, '');
 }
}
if ($manageObj->modifyLibrary(PATH_CORE . '/classes/', 'photo.class.php')) {
    // create photo table
    require_once PATH_CORE . '/classes/photo.class.php';
    PhotoTable::createTable($manageObj);
}
if ($manageObj->modifyLibrary(PATH_CORE . '/classes/', 'challenges.class.php')) {
    require_once PATH_CORE . '/classes/challenges.class.php';
    ChallengeTable::createTable($manageObj);
    ChallengeCompletedTable::createTable($manageObj);
    $challengeTable = new ChallengeTable($manageObj->db);
    $challengeTable->populateCommonChallenges();
}
if ($manageObj->modifyLibrary(PATH_CORE . '/classes/', 'scores.class.php')) {
    require_once PATH_CORE . '/classes/scores.class.php';
    WeeklyScoresTable::createTable($manageObj);
}
if ($manageObj->modifyLibrary(PATH_CORE . '/classes/', 'contactEmails.class.php')) {
    // Create ContactEmail table for the contact us functions
    require_once PATH_CORE . '/classes/contactEmails.class.php';
    ContactEmailTable::createTable($manageObj);
    $contactemailTable = new ContactEmailTable($manageObj->db);
    //$contactemailTable->testPopulate();
}
// Create FeaturedTemplate table for the contact us functions
if ($manageObj->modifyLibrary(PATH_CORE . '/classes/', 'featuredTemplate.class.php')) {
    require_once PATH_CORE . '/classes/featuredTemplate.class.php';
    FeaturedTemplateTable::createTable($manageObj);
    $featuredTemplateTable = new FeaturedTemplateTable($manageObj->db);
    //$featuredTemplateTable->testPopulate();
}