Added root_check flag to disable root checking on webservers