hacked BXImage to work without interactive console