made changes to load keys from properties file