Script needs db connection.