Created script to read the ports and wait time.