Automate installation script