refactoring initial config of piuss package