added root check for remove command