move secret key and installation id to install process