Modified SQL scripts and added .htaccess file