Added 'sudo' checks