1. DEBUG port option
2. array macros
autoscan, port update