update path variables so we can preview and publish properly