added ssh key generation to init_script