Replace hard coded html dir with discovered.