Moved installation functionality to separate script