Updates for directory separator

Many changes on the directory separator
for compability with IIS on windows