Update to add htaccess renaming and better debug output.