Fix permission denied errors when running script without sudo

e.g.:
$ ./bootstrap.sh
[..]
-bash: /etc/nginx/sites-available/default: Permission denied
Merge pull request #1 from andyhelp/master

Fix permission denied errors when running script without sudo