added secure key generation to the install procedure