Correct ordering of installation commands