separate the install steps from the config steps

@HugoKuo have a look at this