moved printing function to replace_loc file
domestic_sql function now stubbed out for unit testing