Setup for ota and stats