Added view only option and root permissions detection