update to use server-side dirs