added netrc for db connection.  Added specifying host on command line to scripts