Install-libs.R fixed to function also with Rscript command