I tried running two scripts on boot using below link.
https://www.instructables.com/id/Raspberry-Pi-Launch-Python-script-on-startup/
One of the file just requires to open camera while other requires sending data to firebase real time database. Above tutorial successfully started file having requirement of opening camera but it didn't work for firebase file because Pi is connected to wifi after boot.
Is it possible to to run both scripts after my Pi 3 connects to wifi after boot? or another workaround?