insert the check if this is run as root that is in main.py