Fix order in command in web-ui installation

Let me know if I Should push to master in the future. Do you prefer pre-checking or post-checking.