removed casting and added tostring.tolower for israckconnect and ismananged