add database and serial port script to tools folder