change dir to web friendly name