Finished the sync_queue.php script.