raspberry pi changes and sync fixes