Added trailing slash to private and public dirs