Added proper initialization to instrument_init()