Upgrades the publish script to not use the current folder at all.
Fixes problem with the sidenav link clickable area