changed base directory to "public"