Fixing correct directory pathg