Fix curl errors and speed up syncs