adding some stuff to fix perissions, fixes barcodes + more pear issues