function build_sequence()
{
    $unix = new unix();
    $php = $unix->LOCATE_PHP5_BIN();
    $sock = new sockets();
    $HyperCacheStoreID = intval($sock->GET_INFO("HyperCacheStoreID"));
    $HyperCacheLicensedMode = intval($sock->GET_INFO("HyperCacheLicensedMode"));
    if ($HyperCacheLicensedMode == 0) {
        if ($HyperCacheStoreID == 1) {
            build_progress(10, "{checking_plugin}");
            build_sequence_plugin();
            return;
        }
    }
    build_progress(10, "{checking_license_status}");
    if (!HyperCache()) {
        if ($HyperCacheStoreID == 0) {
            if (!verify_proxy_configuration()) {
                build_progress(50, "{reconfigure_proxy_service}");
                system("{$php} /usr/share/artica-postfix/exec.squid.php --build --force");
                build_progress(100, "{checking_license_status} {success} {disabled}");
                return;
            }
            build_progress(100, "{checking_license_status} {success} {disabled}");
            return;
        }
        build_progress(110, "{checking_license_status} {failed}");
        return;
    }
    build_progress(15, "{update_websites_list}");
    HyperCache_websites();
    build_progress(20, "{verify_the_license}");
    HyperCache_create_license();
    build_progress(30, "{verify_proxy_configuration}");
    if (!verify_proxy_configuration()) {
        build_progress(50, "{reconfigure_proxy_service}");
        system("{$php} /usr/share/artica-postfix/exec.squid.php --build --force");
        build_progress(70, "{verify_proxy_configuration}");
        if (!verify_proxy_configuration()) {
            build_progress(110, "{verify_proxy_configuration} {failed}");
            return;
        }
        system("/etc/artica-postfix/artica-status restart --force");
    }
    build_progress(100, "{verify_proxy_configuration} {success}");
}
    die;
}
$filetime = file_time_min($cachetime);
if (!$GLOBALS["FORCE"]) {
    if ($filetime < $WebCommunityUpdatePool) {
        WriteMyLogs("{$filetime}Mn need {$WebCommunityUpdatePool}Mn, aborting...", __FUNCTION__, __FILE__, __LINE__);
        die;
    }
}
WriteMyLogs("-> EXECUTE....", "MAIN", __FILE__, __LINE__);
@mkdir(dirname($cachetime), 0755, true);
@unlink($cachetime);
@file_put_contents($cachetime, time());
$GLOBALS["MYPID"] = getmypid();
@file_put_contents($pidfile, $GLOBALS["MYPID"]);
HyperCache();
WriteMyLogs("-> Export()", "MAIN", null, __LINE__);
Export();
WriteMyLogs("-> category_tickets()", "MAIN", null, __LINE__);
category_tickets();
WriteMyLogs("-> Import()", "MAIN", null, __LINE__);
import();
function HyperCache()
{
    $sock = new sockets();
    $HyperCacheStoreID = intval($sock->GET_INFO("HyperCacheStoreID"));
    if ($HyperCacheStoreID == 0) {
        return;
    }
    $HyperCacheMakeId = HyperCacheMakeId();
    $uri = "https://svb.unveiltech.com/svbgetinfo.php";