added keychain support for all os'