Adding while loop to check for new patches and install them