adding default paramaters to support different distributions
adding some code to install the packages