reverted externalized version (conflicts with serve-from-zip and the solution is not worth it)