remove old db config and add env handlers to htaccess to fix production