make it possible to call this with sudo when installed in /opt or any other system directories