updated barcode ap.php to accept a scale parameter in the get request from processing