Check for packages and install them