changes to db for localhost not hardcoded.