updated postInstall script