On linux root permissions are required for ports 443 and 80. The script should continue to be run without root permissions, but should catch the error and ask for sudo if required.