install needed packages automatically