added the input configuration to the inmemory mode