updated to use keytab