addition of local InstrumentPositions and bug fixes for logging