Added AB testing

Still needs a bit of on-site testing to make sure it works, but everything should be there.