move install packages into a variable