install packages only if they are not installed