Solved race condition; added missing file