Made context global, and some shit.