Added keychain check at startup