moved software installation to the top