I split apt-get into multiple lines so it wasn't just one long line across the screen.
I also split the SQL database creation by converting it to a multi-line variable
Added more comments
If apt-get fails, likely due to missing dependencies or differing names outside of Ubuntu 16.04.01 LTS official sources, we should just exit and inform the user, no need to keep going...