Fixed bug causing crash due to updated security permissions requirements