The task "Install the browser" hung for ages once it stopped and I tried running the script again apt complained that I'd have to run sudo dpkg --configure -a manually, once I did that it asked me if I wanted to install youtube-dl. I want to change the browser anyway but wanted to note this issue here as it has tripped me up a times.