Text this: Endogenous Public Policy and Contests