Refactoring install to use staeconf