Changes to barcode unenroll script from Spark

Okay, really this time. Don't merge yet, discuss here.