automatically install dependencies