tweak to package install functions