parsing stuff out and fixing path issues