clarified var names
add data to config file only after successful keystore generation