added a install dependecies to global.R (not the best practice)