diff --git a/DEM2POINT.R b/DEM2POINT.R
index 041a51426738d27f2e54529ab256fd455eb7f119..b277e936e84bb0b49ac7177e9c190889b2caaa1a 100644
--- a/DEM2POINT.R
+++ b/DEM2POINT.R
@@ -1,19 +1,9 @@
 ## Install of additional packages
 ## pkgs are will only be downloaded, if they aren't installed yet
-
-# pacman is currently only available for R 3.5 and higher, which isn't available for Linux LTS distros
-#if(!require(pacman)) {
-#        install.packages("pacman")
-#        library(pacman)
-#}
-
 pkgNeeded <- c("base", "raster", "maptools", "sp", "dismo", "rasterVis", "rgdal")
 isInstalled <- sapply(pkgNeeded, require, character.only = TRUE)
 print(isInstalled)
-
-
-pacman::p_load("raster", "maptools", "sp", "dismo", "rasterVis", "rgdal") 
-# notice: when '#' the line is "neutral = Not run"
+install.packages(pkgNeeded[!isInstalled], quiet = FALSE)
 
 # set path to DEM-raster
 rasterpath<-"C:/Users/CHORO_04/Onedrive/PRACTICALS/AREALKUNDE/SDM"