added a script to generate .htaccess