main installation stages