Install dependencies as packages
Some changes