Setup sync for wineproduction
Added history fix