Automatically install dependencies