improved/fixed the include path in sync.php