Fixed commands order for installation process