Updated to working in PHP 5.3 and tweaked .htaccess