further changes to support hosting in /dash subdirectory