making the emulator port configurable