Added new open defines
Added analytics