load keystore dynamically