pulled label extraction into its own script
pulled label extraction into its own script