Made index.php automatically create the .htaccess file if it doesn't exist