added the possibility to use the old copy paste method to install yaml if the new method fails