Fix publish path.
changes to support non-jsgi proton
merge upstream
keep it simple