finalized pg and install