Fix analyatics script