Update server.R

fixed dependency and removed non needed line (was hard coded)