added a crude way to use fwd or back slash depending on OS, I should use a module for this