platform directory strings standardised on not ending on forward slash
bug fixes for directory changing change