Updates to public.php