added scripts for scanning networks and connecting to database