Added in code to check if run as root