Setup CLI script : generate .htaccess file