Root directory fix

Small fix to make it work when installed not in the webserver root directory