Made sure newlines are removed from the system paths