Export script

The IP address of the DB should not be hardcoded.