error reporting added, htaccess updated and directory separator changed