Multiple improvements to psite-install and bugfixes