added performance updates to htaccess and implemented custom 404 page