added htaccess file conversion logic