updated pkg installer process