Fixed the port number in extension and added chnageInstrument to middle app