Added SQL and .htaccess