Uses remove-trailing-bar to create vars for directories