adding deploy script and making qrcode / pdf output dependent on firebase